package com.baizhi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class BzMenu {
    @TableId(value = "menu_id",type = IdType.AUTO)
    private Long menuId;
    private Long parentId;
    private String name;
    private String url;
    private String  perms;
    private Integer type;
    private String icon;
    private Integer orderNum;

    @TableField(exist = false)
    private List<BzMenu> menuList;


}
